package com.ruibang.glass.portal.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * <p>
 * 产品管理信息
 * </p>
 *
 * @author wujie
 * @since 2024-03-28
 */

@ApiModel(value = "产品管理信息")
@TableName("g_sys_product")
@Data
public class Product {

    @ApiModelProperty(value = "产品Id")
    @TableId(value = "product_id", type = IdType.ASSIGN_ID)
    private String productId;
    @ApiModelProperty(value = "产品编号")
    private String productCode;
    @ApiModelProperty(value = "产品名称")
    private String productName;
    @ApiModelProperty(value = "执行标准")
    private String standard;
    @ApiModelProperty(value = "产品类型(2:成品,3:自产半成品 字典取值:product_type)")
    private String productType;
    @ApiModelProperty(value = "单位(1:片)")
    private String unit;
    @ApiModelProperty(value = "税率")
    private Float taxRate;
    @ApiModelProperty(value = "是否删除(1：是 0：否)")
    @TableLogic
    private String isDelete;
    @TableField(exist = false)
    private List<String> productNameList;

    @TableField(exist = false)
    private List<String> productCodeList;

    @TableField(exist = false)
    private List<String> standardList;
}
